package com.cy.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @Description: 启动类
 * @ClassName: Application
 * @Author: chenyu
 * @Date: 2025/1/3 14:24
 */
@SpringBootApplication
@EnableEurekaClient //开启eureka客户端支持
@EnableCircuitBreaker //开启熔断器功能
public class ConsumerApplication {

    public static void main(String[] args) {
        SpringApplication.run(ConsumerApplication.class, args);
    }
}
